home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 32
/
PC Gamer IT CD 32 1-2.iso
/
ELINK
/
14-DAY
/
CLARISHP
/
_SETUP.1
/
HOMEPAGE.exe
/
1009
/
160
< prev
next >
Wrap
Text File
|
1997-02-20
|
6KB
|
160 lines
// -----
// VDL160.txt
// Copyright 1996 Claris
// -----
// Remote Save dialog
/************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
/************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
/************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
//This section contains all localizable string constants for this VDL program. Be sure to
//include the backslash character at the end of each line of a multi-line string, except for the last line.
//You may also flatten multiline constants into a single line, if you prefer
#define kLit1 "&Server Name:"
#define kLit2 "User &Name:"
#define kLit3 "&Password:"
#define kLit4 "Remote &Directory:"
#define kLit5 "Remote &File:"
#define kLit6 "&Only upload files that have changed since the last upload."
#define kLit7 "&Upload Image Files"
#define kLit8 "Note that this command will not download image files or other "\
"auxilliary files from the remote server. As a result, you may "\
"see \"missing image\" messages in your file; this does not mean "\
"the image files are not present on the remote server."
//Note: the file name will probably not change, but the name of the "Help" folder
//probably will. Note that the translated name MUST be 8 chars or less.
#define kHelpURL "Help/RemoteSv.htm"
#define kHelpTitle "&Help"
//Localized Fonts
#if Platform_Mac
#define SmallFont Font = {Geneva, 9, {Plain}}
#endif
/************************** LOCALIZED STRING CONSTANTS END **************************************/
/************************** LOCALIZED STRING CONSTANTS END **************************************/
/************************** LOCALIZED STRING CONSTANTS END **************************************/
/************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
/************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
/************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
//This section contains integer constants that are used to format this VDL program.
//These are localizable - they only need to be changed if the localized strings
//are sufficiently longer than the US strings. Localize the strings first, then the constants.
//Width of all the edit text labels.
#define kStandardLabelWidth 130
//Width of the dialog itself.
#define kMainDialogWidth 450
/************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
/************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
/************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
//No further localizable data past this point
/************************** END LOCALIZABLE DATA ***************************************************/
/************************** END LOCALIZABLE DATA ***************************************************/
/************************** END LOCALIZABLE DATA ***************************************************/
#ifndef FOR_SITE_UPLOAD
#define FOR_SITE_UPLOAD 0
#endif
#ifndef FOR_REMOTE_SAVE
#define FOR_REMOTE_SAVE 0
#endif
#if Platform_Mac
#define dlogBack BackColor = {65535, 65535, 65535}
#else
#define dlogBack BackColor = Dialog
#endif
#define EH EnabledHelpString =
#define StdLabel LabelWidth = kStandardLabelWidth, LabelAlignment = Right
Margin(10, 10, 10, 10, dlogBack)
VList(Width = kMainDialogWidth)
{
EditText( server, BackColor = {65535, 65535, 65535},
Label = kLit1, StdLabel, NoSmartQuotes,
NoSmartEdits );
Spacer(Height = 5, Width = 0);
EditText( user, BackColor = {65535, 65535, 65535},
Label = kLit2, StdLabel, NoSmartQuotes,
NoSmartEdits );
Spacer(Height = 5, Width = 0);
EditText( password, BackColor = {65535, 65535, 65535},
Label = kLit3, StdLabel, DisplayAsBullets,
NoSmartQuotes, NoSmartEdits );
Spacer(Height = 5, Width = 0);
EditText( remoteDir, BackColor = {65535, 65535, 65535},
Label = kLit4, StdLabel, NoSmartEdits,
NoSmartQuotes );
Spacer(Height = 5, Width = 0);
#if !FOR_SITE_UPLOAD
EditText( remoteFile, BackColor = {65535, 65535, 65535},
Label = kLit5, StdLabel, NoSmartQuotes,
NoSmartEdits );
#else //FOR_SITE_UPLOAD
//CheckBox(kLit6, onlyChangeNewer);
Spacer(Height = 0, Width = 0);
#endif
#if FOR_REMOTE_SAVE
Spacer(Height = 10, Width = 0);
HList(Width = UseParent)
{
Spacer(Width = kStandardLabelWidth + 3, Height = 0);
CheckBox(kLit7, uploadImages);
}
#endif //FOR_REMOTE_SAVE
Spacer(Height = 10, Width = 0);
#if !FOR_REMOTE_SAVE && !FOR_SITE_UPLOAD
StaticText( kLit8,
#if Platform_Mac
SmallFont,
#endif
Alignment = Center, Width = UseParent );
Spacer(Height = 6, Width = 0, ScaleV);
#endif // !FOR_REMOTE_SAVE && !FOR_SITE_UPLOAD
HList(Width = UseParent)
{
#if Platform_Mac
PictPushButton(4000, "ContextHelpProc", HelpFile = kHelpURL)
{
Enabled(Draw, 'cicn',14055 );
Disabled(Draw, 'cicn',14057 );
Tracking(Draw, 'cicn',14056 );
};
#else
PushButton(kHelpTitle, 4000, "ContextHelpProc", HelpFile = kHelpURL);
#endif
StandardDialogButtonsH;
}
}